package com.guogee.pdb.bean;

import java.util.Date;

public class User extends DBBean{
	
	String id;
	String UserName;
	String UserPwd;
	String Email;
	long MobileNo;
	int UserLevel;
	Date FirstLoginTime;
	Date LastLoginTime;
	int LoginTimes;
	boolean AllowLogin;
	int userType; // 0 通用账号 1:瘦身app使用 2彩之云账号
	String thirdUserId; //第三方账号id
	String realName; //姓名
	
	public int getLoginTimes() {
		return LoginTimes;
	}



	public void setLoginTimes(int loginTimes) {
		LoginTimes = loginTimes;
	}



	public String getId() {
		return id;
	}



	public void setId(String id) {
		this.id = id;
	}



	public String getUserName() {
		return UserName;
	}



	public void setUserName(String userName) {
		UserName = userName;
	}



	public String getUserPwd() {
		return UserPwd;
	}



	public void setUserPwd(String userPwd) {
		UserPwd = userPwd;
	}



	public String getEmail() {
		return Email;
	}



	public void setEmail(String email) {
		Email = email;
	}



	public long getMobileNo() {
		return MobileNo;
	}



	public void setMobileNo(long mobileNo) {
		MobileNo = mobileNo;
	}



	public int getUserLevel() {
		return UserLevel;
	}



	public void setUserLevel(int userLevel) {
		UserLevel = userLevel;
	}



	public Date getFirstLoginTime() {
		return FirstLoginTime;
	}



	public void setFirstLoginTime(Date firstLoginTime) {
		FirstLoginTime = firstLoginTime;
	}



	public Date getLastLoginTime() {
		return LastLoginTime;
	}



	public void setLastLoginTime(Date lastLoginTime) {
		LastLoginTime = lastLoginTime;
	}



	public boolean isAllowLogin() {
		return AllowLogin;
	}



	public void setAllowLogin(boolean allowLogin) {
		AllowLogin = allowLogin;
	}

	public void setUserType(int userType) {
		this.userType = userType;
	}
	public int getUserType() {
		return userType;
	}

	public String getThirdUserId(){
		return thirdUserId;
	}
	
	public void setThirdUserId(String thirdUserId) {
		this.thirdUserId = thirdUserId;
	}
	
	
	public String getRealName(){
		return realName;
	}
	
	public void setRealName(String name){
		this.realName = name;
	}
	

	


	@Override
	public String toString() {
		return "User [id=" + id + ", UserName=" + UserName + ", UserPwd="
				+ UserPwd + ", Email=" + Email + ", MobileNo=" + MobileNo
				+ ", UserLevel=" + UserLevel + ", FirstLoginTime="
				+ FirstLoginTime + ", LastLoginTime=" + LastLoginTime
				+ ", AllowLogin=" + AllowLogin + "]";
	}
	
	

}
